package com.bsj.power.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bsj.power.common.def.entity.alarmLevel.AlarmLevel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description AlarmLevelMapper
 * @time 2024/9/6 10:12
 */
public interface AlarmLevelMapper extends BaseMapper<AlarmLevel> {

    /**
     * 批量添加报警级别信息
     *
     * @param alarmLevels
     * @return void
     * @author ljx
     * @time 2024/9/6 14:06
     */
    void batchInsert(@Param("alarmLevels") List<AlarmLevel> alarmLevels);
}
